package com.gupaoedu.vip.mongo.explorer.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@Document(collection = "t_member")
public class Member implements Serializable {

    @Id
    private long id;
    private String loginName;
    private String passWord;
    private String nickName;
    private long createTime;
    private int status;
    private String lashLoginIp;
    private long lastLoginTime;

    public Member() {
    }

    public Member(long id, String loginName, String passWord, String nickName) {
        this.id = id;
        this.loginName = loginName;
        this.passWord = passWord;
        this.nickName = nickName;
    }

}

